import HomeView from '../views/HomeView.vue'
export const routes = [
  {
    path: '/',
    redirect: '/home'
  },
  {
    path: '/home',
    name: 'home',
    component: HomeView,
    meta: {
      keepAlive: true,
    }
  },
  {
    path: '/about',
    name: 'about',
    component: () => import('../views/AboutView.vue')
  },
  {
    path: '/videoDes',
    name: 'videoDes',
    component: () => import('../views/VideoDesView.vue'),
    meta:{
      player:true //不显示底部
    }
  },
  {
    path: '/handwrite',
    name: 'handwrite',
    component: () => import('../views/HandWriteView.vue')
  },
  {
    path: '/search',
    name: 'search',
    // props:true,
    component: () => import('../views/SearchView.vue')
  },
  {
    path: '/class',
    name: 'class',
    component: () => import('../views/ClassView.vue')
  },
  {
    path: '/userinfo',
    name: 'userinfo',
    component: () => import('../views/UserInfoView.vue')
  },
  {
    path: '/vip',
    name: 'vip',
    component: () => import('../views/VipView.vue'),
    meta:{
      player:true //不显示底部
    }
  },
  {
    path: '/handdetail',
    name: 'handdetail',
    component: () => import('../views/HanddetailView.vue'),
    meta:{
      player:true //不显示底部
    }
  },
  // 高明莹新增路由
  ,
  {
    path: '/searchclass',
    name: 'searchclass',
    component: () => import('../views/SearchClassView.vue'),
    meta:{
      player:true //不显示底部
    }
  },
  {
    path: '/classdes',
    name: 'classdes',
    component: () => import('../views/ClassDesView.vue'),
    meta:{
      player:true //不显示底部
    }
  },
  {
    path: '/classorder',
    name: 'classorder',
    component: () => import('../views/ClassOrderView.vue'),
    meta:{
      player:true //不显示底部
    }
  },
  {
    path: '/payment',
    name: 'payment',
    component: () => import('../views/PaymentView.vue')
  },
  {
    path: '/myclass',
    name: 'myclass',
    component: () => import('../views/MyClassView.vue'),
    meta:{
      player:true //不显示底部
    }
  },
  {
    path: '/userdetail',
    name: 'userdetail',
    component: () => import('../views/UserDetailView.vue'),
    meta:{
      player:true //不显示底部
    }
  },
  // 叶建路由新增
  {
    path: '/searchpage',
    name: 'searchpage',
    component: () => import('../views/SearchPageView.vue'),
    meta:{
      player:true //不显示底部
    }
  },
  {
    path: '/worksshow',
    name: 'worksshow',
    props:true,
    component: () => import('../views/WorksShowView.vue'),
    meta:{
      player:true //不显示底部
    }
  },
  // 登录
  {
    path: '/register',
    name: 'register',
    component: () => import('../views/RegisterView.vue'),
    meta:{
      player:true //不显示底部
    }
  },
  // 其他登录
  {
    path: '/otherway',
    name: 'otherway',
    component: () => import('../views/OtherwayaView.vue'),
    meta:{
      player:true //不显示底部
    }
  },
  {
    path: '/searchdetails',
    name: 'searchdetails',
    component: () => import('../views/SearchDetailsView.vue'),
    meta:{
      player:true //不显示底部
    }
  },
 //6.4新增路由
 {
  path: '/albumDes',
  name: 'albumDes',
  component: () => import('../views/AlbumDesView.vue'),
  meta: {
    player: true //不显示底部
  }
},
{
  path: '/addvideo',
  name: 'addvideo',
  component: () => import('../views/AddVideoView.vue'),
  meta: {
    player: true //不显示底部
  }
},
{
  path: '/catehot',
  name: 'catehot',
  component: () => import('../views/CateHotView.vue'),
  meta: {
    player: true //不显示底部
  }
},
{
  path: '/cateedit',
  name: 'cateedit',
  component: () => import('../views/CateEditView.vue'),
  meta: {
    player: true //不显示底部
  }
  },
  {
    path: '/classvideo',
    name: 'classvideo',
    component: () => import('../views/ClassVideoView.vue'),
    meta: {
      player: true //不显示底部
    }
  },
  {
    path: '/myvideo',
    name: 'myvideo',
    component: () => import('../views/MyVideoView.vue'),
    meta: {
      player: true //不显示底部
    }
  },
// 6.9日新增路由
{
  path: '/mysendnote',
  name: 'mysendnote',
  component: () => import('../views/mySendNoteView.vue'),
  meta: {
    player: true //不显示底部
  }

},
// 6月10新增
{
  path: '/myattention',
  name: 'myattention',
  component: () => import('../views/MyattentionView.vue'),
  meta: {
    player: true //不显示底部
  }

},
{
  path: '/mylikefans',
  name: 'mylikefans',
  component: () => import('../views/MylikerView.vue'),
  meta: {
    player: true //不显示底部
  }

  },
// 6.11
{
  path: '/MyDraft',
  name: 'MyDraft',
  component: () => import('../views/MyDraftView.vue'),
  meta: {
    player: true //不显示底部
  }

},
{
  path: '/OrderManage',
  name: 'OrderManage',
  component: () => import('../views/OrderManageView.vue'),
  meta: {
    player: true //不显示底部
  }
},
{
  path: '/OrderDes',
  name: 'OrderDes',
  component: () => import('../views/OrderDesView.vue'),
  meta: {
    player: true //不显示底部
  }
  },
  {
    path: '/MySendVideo',
    name: ' MySendVideo',
    component: () => import('../views/MySendVideo.vue'),
    meta: {
      player: true //不显示底部
    }
  },
  {
    path: '/MyCollectVideo',
    name: ' MyCollectVideo',
    component: () => import('../views/MyCollectVideo.vue'),
    meta: {
      player: true //不显示底部
    }
    },
    // 实名认证  authenticationView
{
  path: '/authentication',
  name: 'authentication',
  component: () => import('../views/authenticationView.vue'),
  meta: {
    player: true //不显示底部
  }
},
//个人中心我的手记路由
{
  path: '/mynote',
  name: 'mynote',
  component: () => import('../views/myNoteView.vue'),
  meta: {
    player: true //不显示底部
  }
},
// 测试
{
  path: '/searchinput',
  name: 'searchinput',
  component: () => import('../views/SearchInput.vue'),
  meta: {
    player: true //不显示底部
  }
},
  // HotPicker
  {
    path: '/HotPicker',
    name: ' HotPicker',
    component: () => import('../views/HotPicker.vue'),
    meta: {
      player: true //不显示底部
    }
  },
  {
    path: '/mysbyns',
    name: 'mysbyns',
    component: () => import('../views/MybynsView.vue'),
    meta: {
      player: true //不显示底部
    }
  },
  
]